package com.example.wangzh.mytest.part.reingold_tifold;

public class Extreme {
    public TreeNode addr; // 节点地址(该末端所在节点是哪个节点)
    public int lev; // 层级
    public int off; // 极端节点相对于根节点T的偏移量

    public Extreme() {
        this.addr = null;
        this.lev = 0;
        this.off = 0;
    }

    public Extreme(TreeNode addr, int lev, int off) {
        this.addr = addr;
        this.lev = lev;
        this.off = off;
    }
}